package com.base.service;

import com.base.po.replacement.ReplacementPlan;
import com.base.po.replacement.ReplacementPlanExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReplacementPlanService {
    int countByExample(ReplacementPlanExample example);

    int deleteByExample(ReplacementPlanExample example);

    int insert(ReplacementPlan record);

    int insertSelective(ReplacementPlan record);

    List<ReplacementPlan> selectByExample(ReplacementPlanExample example);

    List<ReplacementPlan> selectAllPlan();

    List<ReplacementPlan> selectByCardNo(@Param("userid") String userid, @Param("cardno") String cardno);

    List<ReplacementPlan> selectByUserID(String userid);

    int updateByExampleSelective(@Param("record") ReplacementPlan record, @Param("example") ReplacementPlanExample example);

    int updateByExample(@Param("record") ReplacementPlan record, @Param("example") ReplacementPlanExample example);

    int updateByPrimaryKeySelective(ReplacementPlan record);
}